//
//  FoxconnFactory.m
//  DesignMode
//
//  Created by orvibo on 2018/12/29.
//  Copyright © 2018 Alic. All rights reserved.
//

#import "FoxconnFactory.h"

@implementation FoxconnFactory
- (void)makeEquipmentWithGenerator:(EquipmentGenerator *)generator
{
    _equipment = nil;
    //  由对应的协调器，生产对应的设备
    Equipments *equipment = [generator makeEquipment];
    //  得到相应的设备
    self.equipment = equipment;
}
@end
